// Copyright (c) 2012 Rene Bolldorf <rb@radix.io>
// Use of this source is governed by the GNU General Public License version 3,
// the license can be found in the LICENSE file.

var job = function () {
  this.id = null;
  this.scope = null;
  this.func = null;
  this.args = null;
  this.type = null;
  this.name = null;
  this.repeat = null;
};

job.march = function () {
  job.call(this);
  this.x = null;
  this.y = null;
  this.troops = null;
};

job.collect = function () {
  job.call(this);
  this.type = 'auto-collect';
};

job.upgrade = function () {
  job.call(this);
  this.type = 'auto-upgrade';
};
